﻿@model File_Manager.Models.CargaProblemario

@{
    ViewBag.Title = "Carga Formulario";
}


<h2>Carga Formulario Paso @ViewBag.step de <div id="text_step" style="display:inline;">  @ViewBag.stepF </div></h2>


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<!-- BEGIN Date Picker-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script src="@Url.Content("~/Content/DatePicker/scripts/date.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/DatePicker/scripts/jquery.datePicker.js")" type="text/javascript"></script>
<link href="@Url.Content("~/Content/DatePicker/styles/datePicker.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/DatePicker/styles/demo.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/CargaProblemarioScript.js")" type="text/javascript"></script>

@if (@ViewBag.step!=1)
{
<script type="text/javascript">
    disableParDropList(['#idEtapa']);
    disablePar(['#Problemario_idJornada']);
</script>
}

<script type="text/javascript">
    disableParDropList(['#idRol']);
</script>

@using (Html.BeginForm("Create", "Problemario", FormMethod.Post, new { id = "form", enctype = "multipart/form-data" }))
{
        @Html.ValidationSummary(true)
        @Html.Hidden("step", (object)ViewBag.step)
        <fieldset>
            <legend>Datos Problemario</legend>
            <table width="100%">
                <tr>
                    <td width="33%">
                        <div class="editor-label">
                            @Html.LabelFor(model => model.Problemario.nEtapa.name)
                        </div>
                        <div class="editor-field">
                            @Html.DropDownList("idEtapa", null, new { onchange = "autoDropdownList(this)" }) <br /> 
                        </div>
                    </td>
                    <td width="33%">
                        <div class="editor-label">
                            Grupo
                        </div>
                        <div class="editor-field">
                            @Html.DropDownList("idRol") <br /> 
                        </div>
                    </td>
                    <td width="33%">
                        <div class="editor-label">
                            @Html.LabelFor(model => model.Problemario.idJornada)
                        </div>
                        <div class="editor-field">
                            @Html.TextBoxFor(model => model.Problemario.idJornada, new { @Value = ViewBag.Problemario_idJornada })<br />
                            @Html.ValidationMessageFor(model => model.Problemario.idJornada)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                             @Html.LabelFor(model => model.Problemario.nMateria_1.name)
                        </div>
                        <div class="editor-field">
                            @Html.DropDownList("idMateria_1")<br /> 
                        </div>
                    </td>
                    <td>
                        <div class="editor-label">
                            @Html.LabelFor(model => model.Problemario.nMateria_2.name)
                        </div>
                        <div class="editor-field">
                            @Html.DropDownList("idMateria_2")<br /> 
                        </div>
                    </td>
                    <td>
                        <div class="editor-label">
                            @Html.LabelFor(model => model.Problemario.nMateria_3.name)
                        </div>
                        <div class="editor-field">
                            @Html.DropDownList("idMateria_3")<br /> 
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            @Html.LabelFor(model => model.Problemario.fecha_exp)
                        </div>
                        <div class="editor-field">
                        @if (@ViewBag.step == 1)
                        {
                            @Html.TextBoxFor(model => model.Problemario.fecha_exp, new { @class = "date-pick dp-applied", @readonly = "readonly", @Value = ViewBag.Problemario_fecha_exp })<br /><br />
                            @Html.ValidationMessageFor(model => model.Problemario.fecha_exp)
                        }
                        else
                        {
                           @Html.TextBoxFor(model => model.Problemario.fecha_exp, new { @readonly = "readonly", @Value = ViewBag.Problemario_fecha_exp })<br /><br />
                           @Html.ValidationMessageFor(model => model.Problemario.fecha_exp)     
                        }
                        </div>
                    </td>
                    <td colspan="2">
                        <div class="editor-label">
                            @Html.LabelFor(model => model.Problemario.file_name)
                        </div>
                        <div class="editor-field">
                            @Html.TextBoxFor(model => model.Problemario.file_name, new { @readonly = "readonly" })  <input type='file' name='file' id='file' onchange="fileUpload(this)"/><br />
                            @Html.ValidationMessageFor(model => model.Problemario.file_name)
                        </div>
                    </td>
                </tr>
            
            </table>
        </fieldset>
    
    
        <fieldset>
            <legend>Datos Respuestas</legend>
            <br /><br />
            <table width="100%">
                <tr>
                    <th>Materia 1</th><th>Materia 2</th><th>Materia 3</th>
                </tr>
                <tr>
                    <td  width="33%">
                        <table width="100%" class="noBorder">
                            <tr>
                                <td>Pregunta 1</td>       
                                <td><input type="radio" name="M1_P1" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P1" value="B"/>B</td>
                                <td><input type="radio" name="M1_P1" value="C"/>C</td>
                                <td><input type="radio" name="M1_P1" value="D"/>D</td>
                                <td><input type="radio" name="M1_P1" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 2</td>
                                <td><input type="radio" name="M1_P2" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P2" value="B"/>B</td>
                                <td><input type="radio" name="M1_P2" value="C"/>C</td>
                                <td><input type="radio" name="M1_P2" value="D"/>D</td>
                                <td><input type="radio" name="M1_P2" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 3</td>
                                <td><input type="radio" name="M1_P3" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P3" value="B"/>B</td>
                                <td><input type="radio" name="M1_P3" value="C"/>C</td>
                                <td><input type="radio" name="M1_P3" value="D"/>D</td>
                                <td><input type="radio" name="M1_P3" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 4</td>
                                <td><input type="radio" name="M1_P4" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P4" value="B"/>B</td>
                                <td><input type="radio" name="M1_P4" value="C"/>C</td>
                                <td><input type="radio" name="M1_P4" value="D"/>D</td>
                                <td><input type="radio" name="M1_P4" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 5</td>
                                <td><input type="radio" name="M1_P5" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P5" value="B"/>B</td>
                                <td><input type="radio" name="M1_P5" value="C"/>C</td>
                                <td><input type="radio" name="M1_P5" value="D"/>D</td>
                                <td><input type="radio" name="M1_P5" value="E"/>E</td>
                            </tr><!-- 5 Rows-->
                            <tr>
                                <td>Pregunta 6</td>
                                <td><input type="radio" name="M1_P6" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P6" value="B"/>B</td>
                                <td><input type="radio" name="M1_P6" value="C"/>C</td>
                                <td><input type="radio" name="M1_P6" value="D"/>D</td>
                                <td><input type="radio" name="M1_P6" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 7</td>
                                <td><input type="radio" name="M1_P7" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P7" value="B"/>B</td>
                                <td><input type="radio" name="M1_P7" value="C"/>C</td>
                                <td><input type="radio" name="M1_P7" value="D"/>D</td>
                                <td><input type="radio" name="M1_P7" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 8</td>
                                <td><input type="radio" name="M1_P8" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P8" value="B"/>B</td>
                                <td><input type="radio" name="M1_P8" value="C"/>C</td>
                                <td><input type="radio" name="M1_P8" value="D"/>D</td>
                                <td><input type="radio" name="M1_P8" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 9</td>
                                <td><input type="radio" name="M1_P9" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P9" value="B"/>B</td>
                                <td><input type="radio" name="M1_P9" value="C"/>C</td>
                                <td><input type="radio" name="M1_P9" value="D"/>D</td>
                                <td><input type="radio" name="M1_P9" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 10</td>
                                <td><input type="radio" name="M1_P10" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P10" value="B"/>B</td>
                                <td><input type="radio" name="M1_P10" value="C"/>C</td>
                                <td><input type="radio" name="M1_P10" value="D"/>D</td>
                                <td><input type="radio" name="M1_P10" value="E"/>E</td>
                            </tr><!-- 10 Rows-->
                            <tr>
                                <td>Pregunta 11</td>
                                <td><input type="radio" name="M1_P11" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P11" value="B"/>B</td>
                                <td><input type="radio" name="M1_P11" value="C"/>C</td>
                                <td><input type="radio" name="M1_P11" value="D"/>D</td>
                                <td><input type="radio" name="M1_P11" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 12</td>
                                <td><input type="radio" name="M1_P12" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P12" value="B"/>B</td>
                                <td><input type="radio" name="M1_P12" value="C"/>C</td>
                                <td><input type="radio" name="M1_P12" value="D"/>D</td>
                                <td><input type="radio" name="M1_P12" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 13</td>
                                <td><input type="radio" name="M1_P13" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P13" value="B"/>B</td>
                                <td><input type="radio" name="M1_P13" value="C"/>C</td>
                                <td><input type="radio" name="M1_P13" value="D"/>D</td>
                                <td><input type="radio" name="M1_P13" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 14</td>
                                <td><input type="radio" name="M1_P14" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P14" value="B"/>B</td>
                                <td><input type="radio" name="M1_P14" value="C"/>C</td>
                                <td><input type="radio" name="M1_P14" value="D"/>D</td>
                                <td><input type="radio" name="M1_P14" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 15</td>
                                <td><input type="radio" name="M1_P15" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P15" value="B"/>B</td>
                                <td><input type="radio" name="M1_P15" value="C"/>C</td>
                                <td><input type="radio" name="M1_P15" value="D"/>D</td>
                                <td><input type="radio" name="M1_P15" value="E"/>E</td>
                            </tr><!-- 15 Rows-->
                            <tr>
                                <td>Pregunta 16</td>
                                <td><input type="radio" name="M1_P16" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P16" value="B"/>B</td>
                                <td><input type="radio" name="M1_P16" value="C"/>C</td>
                                <td><input type="radio" name="M1_P16" value="D"/>D</td>
                                <td><input type="radio" name="M1_P16" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 17</td>
                                <td><input type="radio" name="M1_P17" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P17" value="B"/>B</td>
                                <td><input type="radio" name="M1_P17" value="C"/>C</td>
                                <td><input type="radio" name="M1_P17" value="D"/>D</td>
                                <td><input type="radio" name="M1_P17" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 18</td>
                                <td><input type="radio" name="M1_P18" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P18" value="B"/>B</td>
                                <td><input type="radio" name="M1_P18" value="C"/>C</td>
                                <td><input type="radio" name="M1_P18" value="D"/>D</td>
                                <td><input type="radio" name="M1_P18" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 19</td>
                                <td><input type="radio" name="M1_P19" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P19" value="B"/>B</td>
                                <td><input type="radio" name="M1_P19" value="C"/>C</td>
                                <td><input type="radio" name="M1_P19" value="D"/>D</td>
                                <td><input type="radio" name="M1_P19" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 20</td>
                                <td><input type="radio" name="M1_P20" required value="A"/>A</td>
                                <td><input type="radio" name="M1_P20" value="B"/>B</td>
                                <td><input type="radio" name="M1_P20" value="C"/>C</td>
                                <td><input type="radio" name="M1_P20" value="D"/>D</td>
                                <td><input type="radio" name="M1_P20" value="E"/>E</td>
                            </tr><!-- 20 Rows-->
                        </table>
                    </td>
                    <td  width="33%">
                        <table width="100%" class="noBorder">
                            <tr>
                                <td>Pregunta 1</td>       
                                <td><input type="radio" name="M2_P1" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P1" value="B"/>B</td>
                                <td><input type="radio" name="M2_P1" value="C"/>C</td>
                                <td><input type="radio" name="M2_P1" value="D"/>D</td>
                                <td><input type="radio" name="M2_P1" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 2</td>
                                <td><input type="radio" name="M2_P2" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P2" value="B"/>B</td>
                                <td><input type="radio" name="M2_P2" value="C"/>C</td>
                                <td><input type="radio" name="M2_P2" value="D"/>D</td>
                                <td><input type="radio" name="M2_P2" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 3</td>
                                <td><input type="radio" name="M2_P3" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P3" value="B"/>B</td>
                                <td><input type="radio" name="M2_P3" value="C"/>C</td>
                                <td><input type="radio" name="M2_P3" value="D"/>D</td>
                                <td><input type="radio" name="M2_P3" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 4</td>
                                <td><input type="radio" name="M2_P4" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P4" value="B"/>B</td>
                                <td><input type="radio" name="M2_P4" value="C"/>C</td>
                                <td><input type="radio" name="M2_P4" value="D"/>D</td>
                                <td><input type="radio" name="M2_P4" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 5</td>
                                <td><input type="radio" name="M2_P5" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P5" value="B"/>B</td>
                                <td><input type="radio" name="M2_P5" value="C"/>C</td>
                                <td><input type="radio" name="M2_P5" value="D"/>D</td>
                                <td><input type="radio" name="M2_P5" value="E"/>E</td>
                            </tr><!-- 5 Rows-->
                            <tr>
                                <td>Pregunta 6</td>
                                <td><input type="radio" name="M2_P6" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P6" value="B"/>B</td>
                                <td><input type="radio" name="M2_P6" value="C"/>C</td>
                                <td><input type="radio" name="M2_P6" value="D"/>D</td>
                                <td><input type="radio" name="M2_P6" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 7</td>
                                <td><input type="radio" name="M2_P7" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P7" value="B"/>B</td>
                                <td><input type="radio" name="M2_P7" value="C"/>C</td>
                                <td><input type="radio" name="M2_P7" value="D"/>D</td>
                                <td><input type="radio" name="M2_P7" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 8</td>
                                <td><input type="radio" name="M2_P8" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P8" value="B"/>B</td>
                                <td><input type="radio" name="M2_P8" value="C"/>C</td>
                                <td><input type="radio" name="M2_P8" value="D"/>D</td>
                                <td><input type="radio" name="M2_P8" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 9</td>
                                <td><input type="radio" name="M2_P9" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P9" value="B"/>B</td>
                                <td><input type="radio" name="M2_P9" value="C"/>C</td>
                                <td><input type="radio" name="M2_P9" value="D"/>D</td>
                                <td><input type="radio" name="M2_P9" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 10</td>
                                <td><input type="radio" name="M2_P10" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P10" value="B"/>B</td>
                                <td><input type="radio" name="M2_P10" value="C"/>C</td>
                                <td><input type="radio" name="M2_P10" value="D"/>D</td>
                                <td><input type="radio" name="M2_P10" value="E"/>E</td>
                            </tr><!-- 10 Rows-->
                            <tr>
                                <td>Pregunta 11</td>
                                <td><input type="radio" name="M2_P11" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P11" value="B"/>B</td>
                                <td><input type="radio" name="M2_P11" value="C"/>C</td>
                                <td><input type="radio" name="M2_P11" value="D"/>D</td>
                                <td><input type="radio" name="M2_P11" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 12</td>
                                <td><input type="radio" name="M2_P12" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P12" value="B"/>B</td>
                                <td><input type="radio" name="M2_P12" value="C"/>C</td>
                                <td><input type="radio" name="M2_P12" value="D"/>D</td>
                                <td><input type="radio" name="M2_P12" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 13</td>
                                <td><input type="radio" name="M2_P13" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P13" value="B"/>B</td>
                                <td><input type="radio" name="M2_P13" value="C"/>C</td>
                                <td><input type="radio" name="M2_P13" value="D"/>D</td>
                                <td><input type="radio" name="M2_P13" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 14</td>
                                <td><input type="radio" name="M2_P14" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P14" value="B"/>B</td>
                                <td><input type="radio" name="M2_P14" value="C"/>C</td>
                                <td><input type="radio" name="M2_P14" value="D"/>D</td>
                                <td><input type="radio" name="M2_P14" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 15</td>
                                <td><input type="radio" name="M2_P15" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P15" value="B"/>B</td>
                                <td><input type="radio" name="M2_P15" value="C"/>C</td>
                                <td><input type="radio" name="M2_P15" value="D"/>D</td>
                                <td><input type="radio" name="M2_P15" value="E"/>E</td>
                            </tr><!-- 15 Rows-->
                            <tr>
                                <td>Pregunta 16</td>
                                <td><input type="radio" name="M2_P16" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P16" value="B"/>B</td>
                                <td><input type="radio" name="M2_P16" value="C"/>C</td>
                                <td><input type="radio" name="M2_P16" value="D"/>D</td>
                                <td><input type="radio" name="M2_P16" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 17</td>
                                <td><input type="radio" name="M2_P17" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P17" value="B"/>B</td>
                                <td><input type="radio" name="M2_P17" value="C"/>C</td>
                                <td><input type="radio" name="M2_P17" value="D"/>D</td>
                                <td><input type="radio" name="M2_P17" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 18</td>
                                <td><input type="radio" name="M2_P18" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P18" value="B"/>B</td>
                                <td><input type="radio" name="M2_P18" value="C"/>C</td>
                                <td><input type="radio" name="M2_P18" value="D"/>D</td>
                                <td><input type="radio" name="M2_P18" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 19</td>
                                <td><input type="radio" name="M2_P19" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P19" value="B"/>B</td>
                                <td><input type="radio" name="M2_P19" value="C"/>C</td>
                                <td><input type="radio" name="M2_P19" value="D"/>D</td>
                                <td><input type="radio" name="M2_P19" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 20</td>
                                <td><input type="radio" name="M2_P20" required value="A"/>A</td>
                                <td><input type="radio" name="M2_P20" value="B"/>B</td>
                                <td><input type="radio" name="M2_P20" value="C"/>C</td>
                                <td><input type="radio" name="M2_P20" value="D"/>D</td>
                                <td><input type="radio" name="M2_P20" value="E"/>E</td>
                            </tr><!-- 20 Rows-->
                        </table>
                        </td>
                        <td width="33%">
                        <table width="100%" class="noBorder">
                            <tr>
                                <td>Pregunta 1</td>       
                                <td><input type="radio" name="M3_P1" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P1" value="B"/>B</td>
                                <td><input type="radio" name="M3_P1" value="C"/>C</td>
                                <td><input type="radio" name="M3_P1" value="D"/>D</td>
                                <td><input type="radio" name="M3_P1" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 2</td>
                                <td><input type="radio" name="M3_P2" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P2" value="B"/>B</td>
                                <td><input type="radio" name="M3_P2" value="C"/>C</td>
                                <td><input type="radio" name="M3_P2" value="D"/>D</td>
                                <td><input type="radio" name="M3_P2" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 3</td>
                                <td><input type="radio" name="M3_P3" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P3" value="B"/>B</td>
                                <td><input type="radio" name="M3_P3" value="C"/>C</td>
                                <td><input type="radio" name="M3_P3" value="D"/>D</td>
                                <td><input type="radio" name="M3_P3" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 4</td>
                                <td><input type="radio" name="M3_P4" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P4" value="B"/>B</td>
                                <td><input type="radio" name="M3_P4" value="C"/>C</td>
                                <td><input type="radio" name="M3_P4" value="D"/>D</td>
                                <td><input type="radio" name="M3_P4" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 5</td>
                                <td><input type="radio" name="M3_P5" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P5" value="B"/>B</td>
                                <td><input type="radio" name="M3_P5" value="C"/>C</td>
                                <td><input type="radio" name="M3_P5" value="D"/>D</td>
                                <td><input type="radio" name="M3_P5" value="E"/>E</td>
                            </tr><!-- 5 Rows-->
                            <tr>
                                <td>Pregunta 6</td>
                                <td><input type="radio" name="M3_P6" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P6" value="B"/>B</td>
                                <td><input type="radio" name="M3_P6" value="C"/>C</td>
                                <td><input type="radio" name="M3_P6" value="D"/>D</td>
                                <td><input type="radio" name="M3_P6" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 7</td>
                                <td><input type="radio" name="M3_P7" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P7" value="B"/>B</td>
                                <td><input type="radio" name="M3_P7" value="C"/>C</td>
                                <td><input type="radio" name="M3_P7" value="D"/>D</td>
                                <td><input type="radio" name="M3_P7" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 8</td>
                                <td><input type="radio" name="M3_P8" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P8" value="B"/>B</td>
                                <td><input type="radio" name="M3_P8" value="C"/>C</td>
                                <td><input type="radio" name="M3_P8" value="D"/>D</td>
                                <td><input type="radio" name="M3_P8" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 9</td>
                                <td><input type="radio" name="M3_P9" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P9" value="B"/>B</td>
                                <td><input type="radio" name="M3_P9" value="C"/>C</td>
                                <td><input type="radio" name="M3_P9" value="D"/>D</td>
                                <td><input type="radio" name="M3_P9" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 10</td>
                                <td><input type="radio" name="M3_P10" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P10" value="B"/>B</td>
                                <td><input type="radio" name="M3_P10" value="C"/>C</td>
                                <td><input type="radio" name="M3_P10" value="D"/>D</td>
                                <td><input type="radio" name="M3_P10" value="E"/>E</td>
                            </tr><!-- 10 Rows-->
                            <tr>
                                <td>Pregunta 11</td>
                                <td><input type="radio" name="M3_P11" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P11" value="B"/>B</td>
                                <td><input type="radio" name="M3_P11" value="C"/>C</td>
                                <td><input type="radio" name="M3_P11" value="D"/>D</td>
                                <td><input type="radio" name="M3_P11" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 12</td>
                                <td><input type="radio" name="M3_P12" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P12" value="B"/>B</td>
                                <td><input type="radio" name="M3_P12" value="C"/>C</td>
                                <td><input type="radio" name="M3_P12" value="D"/>D</td>
                                <td><input type="radio" name="M3_P12" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 13</td>
                                <td><input type="radio" name="M3_P13" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P13" value="B"/>B</td>
                                <td><input type="radio" name="M3_P13" value="C"/>C</td>
                                <td><input type="radio" name="M3_P13" value="D"/>D</td>
                                <td><input type="radio" name="M3_P13" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 14</td>
                                <td><input type="radio" name="M3_P14" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P14" value="B"/>B</td>
                                <td><input type="radio" name="M3_P14" value="C"/>C</td>
                                <td><input type="radio" name="M3_P14" value="D"/>D</td>
                                <td><input type="radio" name="M3_P14" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 15</td>
                                <td><input type="radio" name="M3_P15" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P15" value="B"/>B</td>
                                <td><input type="radio" name="M3_P15" value="C"/>C</td>
                                <td><input type="radio" name="M3_P15" value="D"/>D</td>
                                <td><input type="radio" name="M3_P15" value="E"/>E</td>
                            </tr><!-- 15 Rows-->
                            <tr>
                                <td>Pregunta 16</td>
                                <td><input type="radio" name="M3_P16" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P16" value="B"/>B</td>
                                <td><input type="radio" name="M3_P16" value="C"/>C</td>
                                <td><input type="radio" name="M3_P16" value="D"/>D</td>
                                <td><input type="radio" name="M3_P16" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 17</td>
                                <td><input type="radio" name="M3_P17" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P17" value="B"/>B</td>
                                <td><input type="radio" name="M3_P17" value="C"/>C</td>
                                <td><input type="radio" name="M3_P17" value="D"/>D</td>
                                <td><input type="radio" name="M3_P17" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 18</td>
                                <td><input type="radio" name="M3_P18" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P18" value="B"/>B</td>
                                <td><input type="radio" name="M3_P18" value="C"/>C</td>
                                <td><input type="radio" name="M3_P18" value="D"/>D</td>
                                <td><input type="radio" name="M3_P18" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 19</td>
                                <td><input type="radio" name="M3_P19" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P19" value="B"/>B</td>
                                <td><input type="radio" name="M3_P19" value="C"/>C</td>
                                <td><input type="radio" name="M3_P19" value="D"/>D</td>
                                <td><input type="radio" name="M3_P19" value="E"/>E</td>
                            </tr>
                            <tr>
                                <td>Pregunta 20</td>
                                <td><input type="radio" name="M3_P20" required value="A"/>A</td>
                                <td><input type="radio" name="M3_P20" value="B"/>B</td>
                                <td><input type="radio" name="M3_P20" value="C"/>C</td>
                                <td><input type="radio" name="M3_P20" value="D"/>D</td>
                                <td><input type="radio" name="M3_P20" value="E"/>E</td>
                            </tr><!-- 20 Rows-->
                        </table>
                    </td>
                </tr>
            </table>
        </fieldset>
    <p>
        <input type="submit" value="Guardar" onclick="return confirm('¿Esta seguro de GUARDAR el Problemario?')" />
        <button type="button" style="font-size: 1.2em; padding: 5px;"> Limpiar </button>
    </p>
}

<div>
    @Html.ActionLink("Ir Atras", "Index")
</div>